package com.itheima.wms.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;


/**
 * 批量出库清单
 *
 * @author diesel
 */
@Data
@ApiModel(description = "批量出库清单")
public class OutboundListBatchDTO {

    @ApiModelProperty("库存id集合")
    @NotEmpty(message = "货品不能为空")
    private List<Long> stockIds;

    @ApiModelProperty("主记录id")
    @NotNull(message = "id不能为空")
    private Long masterId;
}
